{# SPDX-FileCopyrightText: © 2015 Siemens AG

   SPDX-License-Identifier: FSFAP
#}
{% extends "include/base.html.twig" %}

{% block styles %}
  {{ parent() }}
  <link rel="stylesheet" href="css/jquery.treeview.css"/>
{% endblock %}
      

{% block content %}
{{ 'Only folders or uploads that can be accessed via a different path can be deleted'| trans }}
<table>
  <tr style="vertical-align:top;">
    <td id="sidetree">
      <div id="sidetreecontrol" style="display:inline;"><a href="?#">{{ 'Collapse All'|trans }}</a> | <a href="?#">{{ 'Expand All'|trans }}</a></div>
      {{ folderTree }}
    </td>
    <td style="padding-left:20px;">
      <form name="formy" method="post">
        <label for="foldercontent">{{ 'Select the upload or folder you wish to unlink'|trans }}:<br/>
          <select name="foldercontent" id="foldercontent" size="20">
          </select>
        </label>
        <br/>

        <input type="submit" name="move" id="movebutton" value="{{ 'Delete'|trans }}"/>
      </form>
    </td>
  </tr>
</table>
  
{% endblock %}


{% block foot %}
  {{ parent() }}
  <script src="scripts/tools.js" type="text/javascript"></script>
  <script src="scripts/jquery.treeview.js" type="text/javascript"></script>
  <script type="text/javascript">{% include 'admin_content_move.js.twig' with {'removable':1} %}</script>
{% endblock %}